package com.whcoding.designpatterns.pattern.factorypattern.abstractfactory;

/**
 * @program: spring-boot-learning
 * @description: 小米工厂，生产小米手机、路由器
 * @author: whcoding
 * @create: 2022-09-19 17:36
 **/
public class XiaomiFactoryImpl implements IProductFactory{
	@Override
	public IPhoneProduct phoneProduct() {
		return new XiaomiPhoneImpl();
	}

	@Override
	public IRouterProduct routerProduct() {
		return new XiaomiRouterImpl();
	}
}
